import request from '@/utils/request'

// 搜索结果
export function getsearch (q) {
  return request({
    method: 'get',
    url: 'suggestion',
    params: { q }
  })
}
// 搜索结果
export function getsearchResult (params) {
  return request({
    method: 'get',
    url: 'search',
    params
  })
}
